package org.example.commonapi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 学生做完章节检测的答案
 * @TableName student_test_answer
 */
@TableName(value ="student_test_answer")
@Data
public class StudentTestAnswer implements Serializable {
    /**
     * 章节检测答案id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 你的答案
     */
    private String answer;

    /**
     * 学生完成章节检测id
     */
    private Integer studentTestId;

    /**
     * 章节检测题目id
     */
    private Integer testQuestionId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}